<!DOCTYPE html>
<!--
  Copyright 2016 Google Inc.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
-->
<html>
  <head>
    <meta charset="utf-8">
    <title>Grid List - Material Components Catalog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/png" href="/images/logo_components_color_2x_web_48dp.png">
    <link rel="stylesheet" href="/assets/grid-list.css">
    <script src="/ready.js"></script>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <style>
      .demo-grid-tile-content {
        background-image: url("images/16-9.jpg");
      }

      .example {
        padding: 24px;
      }

      .example h2 {
        font-size: 1.3em;
        margin-bottom: 0.8em;
        margin-top: 0.8em;
      }

      .hero .mdc-grid-list {
        width: 320px;
        background-color: white;
      }

      .hero .mdc-grid-tile__primary {
        background-color: #212121;
      }

      .hero .mdc-grid-tile {
        width: 76px;
      }
    </style>
  </head>
  <body class="mdc-typography">
    <header class="mdc-toolbar mdc-toolbar--fixed">
      <div class="mdc-toolbar__row">
        <section class="mdc-toolbar__section mdc-toolbar__section--align-start">
          <a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
          <span class="mdc-toolbar__title catalog-title">Grid List</span>
        </section>
      </div>
    </header>
    <main>
      <div class="mdc-toolbar-fixed-adjust"></div>
      <section class="hero">
        <div class="mdc-grid-list">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>

            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>

            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
            <li class="mdc-grid-tile"><div class="mdc-grid-tile__primary"></div></li>
          </ul>
        </div>
      </section>

      <section class="example">
        <div class="mdc-form-field">
          <div class="mdc-checkbox">
            <input type="checkbox" class="mdc-checkbox__native-control" id="toggle-rtl" aria-labelledby="toggle-rtl-label" />
            <div class="mdc-checkbox__background">
              <svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
                <path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" />
              </svg>
              <div class="mdc-checkbox__mixedmark"></div>
            </div>
          </div>
          <label for="toggle-rtl" id="toggle-rtl-label">Toggle RTL</label>
        </div>
      </section>

      <section class="example examples">
        <h2>Grid List (Default): empty grid</h2>
        <div class="mdc-grid-list">
          <ul class="mdc-grid-list__tiles">
          </ul>
        </div>

        <h2>Grid List (Default): tile aspect ratio 1x1 with oneline footer caption</h2>
        <div class="mdc-grid-list">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with 1px gutter</h2>
        <div class="mdc-grid-list mdc-grid-list--tile-gutter-1">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 image only</h2>
        <div class="mdc-grid-list">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with oneline header caption</h2>
        <div class="mdc-grid-list mdc-grid-list--header-caption">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with twoline footer caption</h2>
        <div class="mdc-grid-list mdc-grid-list--twoline-caption">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with oneline footer caption and icon at start of the caption</h2>
        <div class="mdc-grid-list mdc-grid-list--with-icon-align-start">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with twoline footer caption and icon at start of the caption</h2>
        <div class="mdc-grid-list mdc-grid-list--twoline-caption mdc-grid-list--with-icon-align-start">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with oneline footer caption and icon at end of the caption</h2>
        <div class="mdc-grid-list mdc-grid-list--with-icon-align-end">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 1x1 with twoline footer caption and icon at end of the caption</h2>
        <div class="mdc-grid-list mdc-grid-list--twoline-caption mdc-grid-list--with-icon-align-end">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/1-1.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <i class="mdc-grid-tile__icon material-icons">star_border</i>
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
                <span class="mdc-grid-tile__support-text">Support text</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: tile aspect ratio 16x9 with oneline footer caption (Support: 16:9, 4:3, 3:4, 2:3, 3:2 as well)</h2>
        <div class="mdc-grid-list mdc-grid-list--tile-aspect-16x9">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <img class="mdc-grid-tile__primary-content" src="images/16-9.jpg" />
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
        <h2>Grid List: use div's background instead of img tag (useful when image ratio cannot be ensured)</h2>
        <div class="mdc-grid-list mdc-grid-list--header-caption">
          <ul class="mdc-grid-list__tiles">
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
            <li class="mdc-grid-tile">
              <div class="mdc-grid-tile__primary">
                <div class="mdc-grid-tile__primary-content demo-grid-tile-content"></div>
              </div>
              <span class="mdc-grid-tile__secondary">
                <span class="mdc-grid-tile__title">Single Very Long Grid Title Line</span>
              </span>
            </li>
          </ul>
        </div>
      </section>
    </main>

    <script src="/assets/material-components-web.js" async></script>
    <script>
      demoReady(function() {
        var nodes = document.querySelectorAll('.mdc-grid-list');
        for (var i = 0, node; node = nodes[i]; i++) {
          mdc.gridList.MDCGridList.attachTo(node);
        }

        var demoWrapper = document.querySelector('.examples');
        document.getElementById('toggle-rtl').addEventListener('change', function () {
          if (this.checked) {
            demoWrapper.setAttribute('dir', 'rtl');
          } else {
            demoWrapper.removeAttribute('dir');
          }
        });
      });
    </script>
  </body>
</html>
